From: Robert Pluim Date: Tue, 10 Jun 2025 07:48:20 +0000 (+0200) Subject: * lisp/keymap.el (keymap-set): Refer to 'key-description'. (Bug#78714) X-Git-Tag: archive/raspbian/1%30.2+1-2+rpi1^2~2^2~24^2~53 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=1bed29495836dab96fe642dbd6f4c1625c50b12a;p=emacs.git * lisp/keymap.el (keymap-set): Refer to 'key-description'. (Bug#78714) --- diff --git a/lisp/keymap.el b/lisp/keymap.el index b2c7321a1d5..173600f4d4b 100644 --- a/lisp/keymap.el +++ b/lisp/keymap.el @@ -60,7 +60,11 @@ DEFINITION is anything that can be a key's definition: keymap has been created with a menu name, see `make-keymap'), or a cons (MAP . CHAR), meaning use definition of CHAR in keymap MAP, or an extended menu item definition. - (See info node `(elisp)Extended Menu Items'.)" + (See info node `(elisp)Extended Menu Items'.) + +The `key-description' convenience function converts a simple +string of characters to an equivalent form that is acceptable for +COMMAND." (declare (compiler-macro (lambda (form) (keymap--compile-check key) form))) (keymap--check key) ;; If we're binding this key to another key, then parse that other